package com.xiongwei.builder;

/**
 * @author XiongWei
 * @date 2024/1/18
 */
public class CommonBuilder extends HouseBuilder{

    private House house = new House();

    @Override
    public void buildBasic() {
        house.setBasic("common basic");
        System.out.println("common basic");
    }

    @Override
    public void buildWall() {
        house.setWall("common wall");
        System.out.println("common wall");

    }

    @Override
    public void buildRoof() {
        house.setRoof("common roof");
        System.out.println("common roof");

    }
}
